package com.yunji.base.convert;

import com.yunji.base.domain.SuggestDO;
import com.yunji.common.model.dto.MemberSuggestDTO;
import com.yunji.common.utils.bean.BeanUtils;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.message.engine
 * @Title: SuggestConvert
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-30 19:27:49      V1.0        HuaAo       新建类
 */

public class SuggestConvert {

    public static SuggestDO convertMemberDto(MemberSuggestDTO dto) {
        SuggestDO suggest = new SuggestDO();
        BeanUtils.clone(dto, suggest);
        return suggest;
    }

}